package com.lawliet.example.repository.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lawliet.example.model.system.SysPermission;
import com.lawliet.example.model.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysPermission> getPermissionByUserName(Long userId);
}
